package com.hoppinzq.brap.service;

import com.hoppinzq.brap.enums.ServerEnum;

import java.io.Serializable;

/**
 * 要注册的服务的一些信息，服务的IP，标题，描述，类型（内部外部），超时时长等
 */
public class ServiceMessage implements Serializable {
    private static final long serialVersionUID = 2783377098145240357L;

    private String serviceIP;
    private String serviceTitle;
    private ServerEnum serviceType;
    private String serviceDescription;
    private int timeout;

    public String getServiceIP() {
        return serviceIP;
    }

    public void setServiceIP(String serviceIP) {
        this.serviceIP = serviceIP;
    }

    public String getServiceTitle() {
        return serviceTitle;
    }

    public void setServiceTitle(String serviceTitle) {
        this.serviceTitle = serviceTitle;
    }

    public ServerEnum getServiceType() {
        return serviceType;
    }

    public void setServiceType(ServerEnum serviceType) {
        this.serviceType = serviceType;
    }

    public String getServiceDescription() {
        return serviceDescription;
    }

    public void setServiceDescription(String serivceDescription) {
        this.serviceDescription = serivceDescription;
    }

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }
}

